//获取医院设置 请求参数的接口
export interface ReqHospitalSetParams {
  page: number;
  limit: number;
  hosname?: string;
  hoscode?: string;
}

//单个医院设置信息的接口
export interface HospitalItem {
  id: number;
  createTime: string;
  updateTime: string;
  isDeleted: number;
  param: {};
  hosname: string;
  hoscode: string;
  apiUrl: string;
  signKey: string;
  contactsName: string;
  contactsPhone: string;
  status: number;
}

//声明一个复数的类型
export type HospitalItems = HospitalItem[];

//声明响应结果的接口
export interface ReqHospitalSetResponse {
  records: HospitalItems;
  total: number;
  size: number;
  current: number;
  orders: [];
  hitCount: boolean;
  searchCount: boolean;
  pages: number;
}

//声明接口 约束新增医院设置参数
export interface ReqAddHospitalSetParams {
  apiUrl: string;
  contactsName: string;
  contactsPhone: string;
  hoscode: string;
  hosname: string;
}

//声明接口 约束更新医院设置参数
export interface ReqUpdateHospitalSetParams extends ReqAddHospitalSetParams{
  id: number;
}


